package com.test.spring.test.xml.service.Event;

import org.springframework.context.ApplicationListener;

/**
 * 要注册成bean
 */
public class HelloEventListener implements ApplicationListener<HelloEvent> {

	@Override
	public void onApplicationEvent(HelloEvent event) {
		System.out.println("listener say hello");
	}

}
